package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 【请填写功能名称】对象 sys_mobile_user
 *
 * @author theme
 * @date 2020-05-27
 */
public class SysMobileUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @ApiModelProperty(name = "用户id")
    private Long mobileUserId;

    /**
     * 昵称
     */
    @ApiModelProperty(name = "昵称")
    private String userName;

    /**
     * 头像
     */
    @ApiModelProperty(name = "头像")
    private String image;

    /**
     * 微信id
     */
    @ApiModelProperty(name = "微信id")
    private String openId;

    /**
     * 性别
     */
    @ApiModelProperty(name = "性别")
    private String sex;

    private String delFlag;

    /**
     * 律师执业证号
     */
    @ApiModelProperty(name = "律师执业证号")
    private String phone;

    private String time;

    private List<SysRecord> records;

    private Map<String,List<SysRecord>> recordUuid;

    private String province;
    // 用户所在城市
    private String city;
    // 用户所在国家
    private String country;

    private String language;

    public Map<String, List<SysRecord>> getRecordUuid() {
        return recordUuid;
    }

    public void setRecordUuid(Map<String, List<SysRecord>> recordUuid) {
        this.recordUuid = recordUuid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<SysRecord> getRecords() {
        return records;
    }

    public void setRecords(List<SysRecord> records) {
        this.records = records;
    }

    public void setMobileUserId(Long mobileUserId) {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() {
        return mobileUserId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("mobileUserId", getMobileUserId())
                .append("userName", getUserName())
                .append("image", getImage())
                .append("openId", getOpenId())
                .append("sex", getSex())
                .append("phone", getPhone())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
